\hypertarget{classRestAPI_1_1amazon_1_1S3_1_1VersionControl}{\section{\-Rest\-A\-P\-I.\-amazon.\-S3.\-Version\-Control \-Class \-Reference}
\label{classRestAPI_1_1amazon_1_1S3_1_1VersionControl}\index{\-Rest\-A\-P\-I.\-amazon.\-S3.\-Version\-Control@{\-Rest\-A\-P\-I.\-amazon.\-S3.\-Version\-Control}}
}


\-Version \-Control configruations.  


\-Inheritance diagram for \-Rest\-A\-P\-I.\-amazon.\-S3.\-Version\-Control\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classRestAPI_1_1amazon_1_1S3_1_1VersionControl}
\end{center}
\end{figure}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classRestAPI_1_1amazon_1_1S3_1_1VersionControl_a116175585d0e2b6bbd81d3766363998e}{def {\bfseries \-\_\-\-\_\-init\-\_\-\-\_\-}}\label{classRestAPI_1_1amazon_1_1S3_1_1VersionControl_a116175585d0e2b6bbd81d3766363998e}

\item 
def \hyperlink{classRestAPI_1_1amazon_1_1S3_1_1VersionControl_a45b4e197c8865d1cc6638aad21f7de85}{enabled}
\begin{DoxyCompactList}\small\item\em \-Check if versioning is enabled. \end{DoxyCompactList}\item 
def \hyperlink{classRestAPI_1_1amazon_1_1S3_1_1VersionControl_ab6a3b9b2d2f52cfd75ff742943a6ae2e}{\-Mfa\-Delete\-Enabled}
\begin{DoxyCompactList}\small\item\em \-Check if \-Mfa\-Delete is enabled. \end{DoxyCompactList}\item 
def \hyperlink{classRestAPI_1_1amazon_1_1S3_1_1VersionControl_ab9ced931c34ffb6be843ee1795c7f4a5}{set\-Mfa\-Code}
\begin{DoxyCompactList}\small\item\em set the current \-Mfa code for \-Mfa\-Delete protection. \end{DoxyCompactList}\item 
def \hyperlink{classRestAPI_1_1amazon_1_1S3_1_1VersionControl_ade9eec662e9081f233a4cc017a971515}{headers}
\begin{DoxyCompactList}\small\item\em returns the headers that need to be added in the \hyperlink{namespaceS3}{\-S3} requests. \end{DoxyCompactList}\item 
def \hyperlink{classRestAPI_1_1amazon_1_1S3_1_1VersionControl_ae76dd376699b52a0b9de215f47793da3}{content}
\begin{DoxyCompactList}\small\item\em returns the request body that need to be added in the \hyperlink{namespaceS3}{\-S3} requests. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{\-Public \-Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classRestAPI_1_1amazon_1_1S3_1_1VersionControl_a9c57cc66a005e5d7671bed838fa685ac}{{\bfseries data}}\label{classRestAPI_1_1amazon_1_1S3_1_1VersionControl_a9c57cc66a005e5d7671bed838fa685ac}

\item 
\hypertarget{classRestAPI_1_1amazon_1_1S3_1_1VersionControl_ab184c394591d6c4e9c31cf793e4155ff}{{\bfseries mfa}}\label{classRestAPI_1_1amazon_1_1S3_1_1VersionControl_ab184c394591d6c4e9c31cf793e4155ff}

\item 
\hypertarget{classRestAPI_1_1amazon_1_1S3_1_1VersionControl_a2d562463693c2b101857748943322667}{{\bfseries token}}\label{classRestAPI_1_1amazon_1_1S3_1_1VersionControl_a2d562463693c2b101857748943322667}

\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}
\-Version \-Control configruations. 



\subsection{\-Member \-Function \-Documentation}
\hypertarget{classRestAPI_1_1amazon_1_1S3_1_1VersionControl_ae76dd376699b52a0b9de215f47793da3}{\index{\-Rest\-A\-P\-I\-::amazon\-::\-S3\-::\-Version\-Control@{\-Rest\-A\-P\-I\-::amazon\-::\-S3\-::\-Version\-Control}!content@{content}}
\index{content@{content}!RestAPI::amazon::S3::VersionControl@{\-Rest\-A\-P\-I\-::amazon\-::\-S3\-::\-Version\-Control}}
\subsubsection[{content}]{\setlength{\rightskip}{0pt plus 5cm}def {\bf \-Rest\-A\-P\-I.\-amazon.\-S3.\-Version\-Control.\-content} (
\begin{DoxyParamCaption}
\item[{}]{self}
\end{DoxyParamCaption}
)}}\label{classRestAPI_1_1amazon_1_1S3_1_1VersionControl_ae76dd376699b52a0b9de215f47793da3}


returns the request body that need to be added in the \hyperlink{namespaceS3}{\-S3} requests. 



\-Reimplemented from \hyperlink{classRestAPI_1_1amazon_1_1service_1_1AWSConfiguration_a29a95f6203ff8126fdfae6936a768e40}{\-Rest\-A\-P\-I.\-amazon.\-service.\-A\-W\-S\-Configuration}.

\hypertarget{classRestAPI_1_1amazon_1_1S3_1_1VersionControl_a45b4e197c8865d1cc6638aad21f7de85}{\index{\-Rest\-A\-P\-I\-::amazon\-::\-S3\-::\-Version\-Control@{\-Rest\-A\-P\-I\-::amazon\-::\-S3\-::\-Version\-Control}!enabled@{enabled}}
\index{enabled@{enabled}!RestAPI::amazon::S3::VersionControl@{\-Rest\-A\-P\-I\-::amazon\-::\-S3\-::\-Version\-Control}}
\subsubsection[{enabled}]{\setlength{\rightskip}{0pt plus 5cm}def {\bf \-Rest\-A\-P\-I.\-amazon.\-S3.\-Version\-Control.\-enabled} (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{\-To\-Enable = {\ttfamily \-None}}
\end{DoxyParamCaption}
)}}\label{classRestAPI_1_1amazon_1_1S3_1_1VersionControl_a45b4e197c8865d1cc6638aad21f7de85}


\-Check if versioning is enabled. 

\-If a bool parameter is given, this will enable(\-True) or disable(\-False) the versioning. \hypertarget{classRestAPI_1_1amazon_1_1S3_1_1VersionControl_ade9eec662e9081f233a4cc017a971515}{\index{\-Rest\-A\-P\-I\-::amazon\-::\-S3\-::\-Version\-Control@{\-Rest\-A\-P\-I\-::amazon\-::\-S3\-::\-Version\-Control}!headers@{headers}}
\index{headers@{headers}!RestAPI::amazon::S3::VersionControl@{\-Rest\-A\-P\-I\-::amazon\-::\-S3\-::\-Version\-Control}}
\subsubsection[{headers}]{\setlength{\rightskip}{0pt plus 5cm}def {\bf \-Rest\-A\-P\-I.\-amazon.\-S3.\-Version\-Control.\-headers} (
\begin{DoxyParamCaption}
\item[{}]{self}
\end{DoxyParamCaption}
)}}\label{classRestAPI_1_1amazon_1_1S3_1_1VersionControl_ade9eec662e9081f233a4cc017a971515}


returns the headers that need to be added in the \hyperlink{namespaceS3}{\-S3} requests. 



\-Reimplemented from \hyperlink{classRestAPI_1_1amazon_1_1service_1_1AWSConfiguration_a4683d9d74953a88fa88139138acf338f}{\-Rest\-A\-P\-I.\-amazon.\-service.\-A\-W\-S\-Configuration}.

\hypertarget{classRestAPI_1_1amazon_1_1S3_1_1VersionControl_ab6a3b9b2d2f52cfd75ff742943a6ae2e}{\index{\-Rest\-A\-P\-I\-::amazon\-::\-S3\-::\-Version\-Control@{\-Rest\-A\-P\-I\-::amazon\-::\-S3\-::\-Version\-Control}!\-Mfa\-Delete\-Enabled@{\-Mfa\-Delete\-Enabled}}
\index{\-Mfa\-Delete\-Enabled@{\-Mfa\-Delete\-Enabled}!RestAPI::amazon::S3::VersionControl@{\-Rest\-A\-P\-I\-::amazon\-::\-S3\-::\-Version\-Control}}
\subsubsection[{\-Mfa\-Delete\-Enabled}]{\setlength{\rightskip}{0pt plus 5cm}def {\bf \-Rest\-A\-P\-I.\-amazon.\-S3.\-Version\-Control.\-Mfa\-Delete\-Enabled} (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{\-To\-Enable = {\ttfamily \-None}}
\end{DoxyParamCaption}
)}}\label{classRestAPI_1_1amazon_1_1S3_1_1VersionControl_ab6a3b9b2d2f52cfd75ff742943a6ae2e}


\-Check if \-Mfa\-Delete is enabled. 

\-If a bool parameter is given, this will enable(\-True) or disable(\-False) the \-Mfa\-Delete. \hypertarget{classRestAPI_1_1amazon_1_1S3_1_1VersionControl_ab9ced931c34ffb6be843ee1795c7f4a5}{\index{\-Rest\-A\-P\-I\-::amazon\-::\-S3\-::\-Version\-Control@{\-Rest\-A\-P\-I\-::amazon\-::\-S3\-::\-Version\-Control}!set\-Mfa\-Code@{set\-Mfa\-Code}}
\index{set\-Mfa\-Code@{set\-Mfa\-Code}!RestAPI::amazon::S3::VersionControl@{\-Rest\-A\-P\-I\-::amazon\-::\-S3\-::\-Version\-Control}}
\subsubsection[{set\-Mfa\-Code}]{\setlength{\rightskip}{0pt plus 5cm}def {\bf \-Rest\-A\-P\-I.\-amazon.\-S3.\-Version\-Control.\-set\-Mfa\-Code} (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{mfa, }
\item[{}]{token}
\end{DoxyParamCaption}
)}}\label{classRestAPI_1_1amazon_1_1S3_1_1VersionControl_ab9ced931c34ffb6be843ee1795c7f4a5}


set the current \-Mfa code for \-Mfa\-Delete protection. 

\-If this is set, then all operation that modifies a version will need the mfa codeto be given . 

\-The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
amazon/\-S3.\-py\end{DoxyCompactItemize}
